const path = require('path')
const fpath = 'a/ab/b/b/b.html'
// const fullname = path.basename(fpath)
// console.log(fullname);

const bbb = path.basename(fpath,'.html')
console.log(bbb);